Skip to content

Fix e2e merge-command assertion broken by the ff-only step#44

Merged
Phlogistique merged 1 commit into
mainfrom
claude/fix-e2e-ff-only-assert-3njvdx
Jun 9, 2026
Merged

Fix e2e merge-command assertion broken by the ff-only step#44
Phlogistique merged 1 commit into
mainfrom
claude/fix-e2e-ff-only-assert-3njvdx

Conversation

@Phlogistique

Copy link
Copy Markdown
Collaborator

Since #40 the conflict comment's fast-forward step reads git merge --ff-only origin/<branch>, which assert_conflict_comment_merges picks up with its ^git merge grep, so the extracted commands never match the expected conflict merges and the check fails on every conflict scenario. #40's test tweak only handled the new # ... hash gloss, not the new merge line.

This went unnoticed because tests.yml only runs on pull_request, so the breakage only surfaced on the first PR after #40 landed (#42, run 27235483781).

Fix: skip the --ff-only line when extracting merge commands. Verified green as part of #42's run 27235912022 before being split out into this PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JHvKryT4QUpHYdNq9YEQxX


Generated by Claude Code

Since #40 the conflict comment's fast-forward step reads `git merge
--ff-only origin/<branch>`, which assert_conflict_comment_merges picks
up with its `^git merge` grep, so the extracted commands never match the
expected conflict merges and the check fails on every conflict scenario.
Skip the --ff-only line when extracting.

This went unnoticed because tests.yml only runs on pull_request, so the
breakage only surfaced on the first PR after #40 landed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01JHvKryT4QUpHYdNq9YEQxX
@Phlogistique Phlogistique merged commit 3314aa6 into main Jun 9, 2026
2 checks passed
@github-actions github-actions Bot deleted the claude/fix-e2e-ff-only-assert-3njvdx branch June 9, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants